* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Oswald';
    src: url('fonts/Oswald.woff2') format('woff2'),
         url('fonts/Oswald.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


.container {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

header {
    background-color: #ffffff;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 150px;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.contact-info a {
    text-decoration: none;
    color: #000;
}

.hero {
    text-align: center;
    padding: 50px 0;
    background-image: url(../img/scale_1200.png);
    min-width: 70%;
    min-height: 80%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.hero_s{
    display: flex;
    height: 80vh;
    align-items: center;

}
.hero_1{
    text-align: center;

}
.polos{
    width: 100%;
    height: 10px;
    background-color: #03662d;
    
}
/* .hero_2{
    background-image: url(../img/2024-10-25_17-15-50_9154.png);
    min-width: 70%;
    min-height: 80%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
} */
.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.buttons .btn {
    padding: 15px 30px;
    text-decoration: none;
    margin-right: 10px;
}
.services {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.services h2 {
    margin-bottom: 40px;
    font-size: 2em;
}


.btn{
    border-radius: 50px;
    border: none;
    align-items: center;
}
.ult{
    padding: 10px;
    width: 30%;
    font-weight: 700;
    position: absolute;
    bottom: 10px;
    float: right;
    left: 10%;
    background-color: #048739;
}
.service-item img {
    max-width: 100%;
}


.img_s{
    object-fit: contain;
    width: 200px;
    height: 200px;
}
.h_zag{
    margin-bottom: 70px;
    font-weight: 500;
}
.h22 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 35px;
    font-weight: 500;
    color: white;
    position: relative;
    opacity: 1 !important;
    z-index: 2;
    text-shadow:     0 1px 0 hsl(174,5%,60%),
                     0 2px 0 hsl(174,5%,55%),
                     0 3px 0 hsl(174,5%,50%),
                     0 4px 0 hsl(174,5%,45%),
                     
                     0 0 5px rgba(0,0,0,.05),
                     0 1px 3px rgba(0,0,0,.2),
                     0 3px 5px rgba(0,0,0,.2),
                     0 5px 10px rgba(0,0,0,.2),
                     0 10px 10px rgba(0,0,0,.2),
                     0 20px 20px rgba(0,0,0,.3);
}
.va{
    background-image: url(/img/1adsfas.png);
    width: 100%;
    height: 500px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.link-success{
    font-size: 18px;
    font-weight: 600;
}
.service-item .s_z p {
    font-size: 25px;
    color: white;
}
.ab_ul{
    margin-top: 70px;
    display: flex;
    justify-content: center;
}
.about {
    padding-top: 70px;
    background-color: #f7f7f7;
    padding: 50px 0;
    text-align: center;
}

.about h2 {
    margin-bottom: 20px;
    font-size: 2em;
}

.about p {
    margin-bottom: 20px;
    font-size: 1.2em;
}

.about ul {
    list-style-type: none;
    padding: 0;
}

.about ul li {
    font-size: 1.1em;
    margin-bottom: 10px;
}
.blog-slider__content {
    text-align: left;
}
.blog-slider__content ul {
    list-style-type: disc;
}
.card{
    margin-right: 20px;
    border: none;
    background-color: #f7f7f7;
    align-items: center;
}
.card-img-top{
    object-fit: contain;
    height: 150px;
}

.contact {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
    font-size: 2em;
}
.kont_s{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 70px;
    text-align: center;
}
.kont_1{
    overflow: hidden;  
    border-radius: 20px;
    height: 300px;
}
.for_s{
    display: flex;
    justify-content: center;
}
.for_1{
    margin-right: 70px;
}
footer {
    background-color: #023b1a;
    color: #fff;
    text-align: center;
    border-top-left-radius:50px;
    border-top-right-radius:50px;
}
.formm {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5faf5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Стили для меток */
.form-label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* Стили для полей ввода */
.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    font-size: 18px;
    color: #333;
    background-color: #fff;
}

.form-control:focus {
    border-color: #048739;
    box-shadow: 0 0 5px rgba(4, 135, 57, 0.3);
}

/* Стили для кнопки */
.btn-primary {
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #03662d;
}

/* Стили для текста согласия */
.form-check-label a {
    color: #048739;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}
.form-check .form-check-input{
    float: none;
}
.kont_p{
    font-size: 17px;
    text-align: left; 
}
.kont_p1{
    font-size: 14px;
    font-weight: 600;
}
/* Стили для чекбокса согласия */

.aew{
    margin-right: 40px;
}
.slyder{
    align-items: center;
    text-align: center;
    margin-bottom: 70px;

}
.fut_a{
    text-decoration: none;
    color: white;
    text-align: left;
}
.contakt{
    margin-top: 70px;
}
.img_glonass{
    display: block;
    margin: 0 auto;
    height: 80vh;
    width: auto;
    background-size: contain;
    background-position: center;
    background-image: url(/img/site_scheme2_final-03.png);
    background-repeat: no-repeat;
}
.glonass{
    background-image: url(/img/99-998456_triangle_3.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
}
.fot_s{
    display: flex;
    justify-content: space-around;
    padding: 20px;
    align-items: center;
}
.post {
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    color: #ad2020;
    line-height: 2.1;
    display: flex; /* Выравниваем текст и кнопку в строку */
    align-items: center;
    gap: 10px; /* Отступ между текстом и кнопкой */
}


  .bg-body-tertiary{
    --bs-bg-opacity:0;
  }
  
  .g_h1{
    text-align: center;
    margin: 70px;
  }
  .n_h1{
    text-align: center;
    margin: 70px;
  }
  .hz_h1{
    text-align: center; 
    margin-top: 70px; 
    margin-bottom: 100px;
  }
.spa_h1{
    color: #d6dbe3;
}
.spa_p{
    text-align: left; 
    font-size: 20px; 
    color:#ffffff;
}
.inli{
    display: inline-flex;
    margin-bottom: 8px;
}
.service-item:first-child{
    background-image: url(../img/sputnik-123.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.service-item:nth-child(2){
    background-image: url(../img/avto-1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.service-item:nth-child(3){
    background-image: url(../img/kartochki-2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.service-item:nth-child(4){
    background-image: url(../img/kandinsky-download-1731352766242.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.service-item {
    display: inline-block;
    position: relative;
    height: 350px;
    width: 40%;
    margin: 1%;
    padding: 20px;
    padding-top: 40px;
    border-radius: 50px;
    overflow: hidden;
    background-size: 100%;
    background-position: center;
    transition: transform 0.5s ease-in-out;
}

/* Обернем фон в псевдоэлемент, чтобы анимировать его */
.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease-in-out;
    z-index: 0;
}

/* Увеличиваем фон при наведении */
.service-item:hover::before {
    transform: scale(1.1);
}

/* Исчезновение текста */
.s_z {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
    position: relative;
    z-index: 2;
}

.service-item:hover .s_z {
    opacity: 0;
}

/* Стили для кнопки */
.btne {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #4CAF50 0%, #45A049 100%);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 15px rgba(255, 117, 140, 0.3);
    z-index: 2;
}

/* Показываем кнопку при наведении */
.service-item:hover .btne {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Эффект при наведении на кнопку */
.btne:hover {
    background: linear-gradient(135deg, #45A049 0%, #4CAF50 100%);
    box-shadow: 0px 8px 20px rgba(76, 175, 80, 0.5);
}
/* Стили для модального окна */
.modal-content {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    animation: fadeInModal 0.4s ease-in-out;
}

/* Анимация для появления модального окна */
@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для заголовка */
.modal-header {
    border-bottom: 2px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

/* Стили для содержимого */
.modal-body {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

/* Стили для кнопки */
.modal-footer {
    border-top: 2px solid #ddd;
    padding-top: 15px;
}



/* Кнопка закрытия */
.btn-close {
    background: transparent;
    border: none;
    font-size: 25px;
    color: #333;
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
}

.btn-close:hover {
    opacity: 1;
}
.card-img-top{
    width: 300px;
    height: auto;
}
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Стили для увеличенного изображения */
.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Стили для кнопки закрытия */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Картинка, увеличиваемая при клике */
.img-thumbnail {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.img-thumbnail:hover {
    transform: scale(1.05);
}
